package com.xxgc.eow.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 系统配置
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-08
 */
@Getter
@Setter
@TableName("system_config")
@Schema(name = "SystemConfig", description = "系统配置")
public class SystemConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "配置名")
    private String conKey;

    @Schema(description = "值")
    private String conValue;

    @Schema(description = "备注")
    private String notes;

    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @Schema(description = "有效列")
    private Boolean flag;
}
